package com.dh.bm.dao;

import com.dh.bm.entity.Book;

import java.util.List;

public interface BookDao {

    List<Book> selectAll();

    Book selectById(int id);

    boolean updateById(int id, Book book);

    boolean deleteById(int id);

    boolean insert(Book book);

}
